from flask import Flask
from apps.front import bp as front_bp
from exts import db
from flask_wtf import CSRFProtect
import config
app = Flask(__name__)

CSRFProtect(app)
app.config.from_object(config)
db.init_app(app)
app.register_blueprint(front_bp)

if __name__ == '__main__':
    app.run(port=8000)
